<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>支付成功页</title>
    <link rel="stylesheet" href="lib/success.css">
    <link rel="stylesheet" href="lib/reset.css">

</head>

<body>
    <div class="header">
        <div class="header-content">
            <img src="img/zhifubao.png" alt="">
            <span>我的收银台</span>
        </div>
    </div>
    <div class="wrap">
        <div class="wrap-content">
            <p>正在使用即时到账交易 [?]&nbsp;&nbsp;交易将在10分钟后关闭，请及时付款！</p>
            <span>Order No: #COH0000023368</span>
            <span>收款方：蔻驰贸易（上海）...</span>
            <span>3250.00元</span>
            <span id="order">订单详情</span>
            <div class="center">
                <p>扫一扫付款（元）</p>
                <p>3250.00</p>
                <img src="img/pay.png" alt="" class="p1">
                <img src="img/fu.png" alt="" class="p2">
                <div class="right">
                    <img src="img/com.png" alt="">
                    <p>>&nbsp;&nbsp;登录账户付款</p>
                </div>
                <h1>支付成功！</h1>
            </div>

            <p class="footer">ICP证：泸B2-20150087</p>
            <img src="img/footer.png" alt="" class="footer-img">
        </div>
    </div>




    <script src="lib/jquery.min.js"></script>
    <script src="lib/common.js"></script>
    <script>
        String.prototype.parseUrl = function() {
            let arr = this.slice(this.indexOf("?") + 1).split("&");
            let result = {};
            arr.forEach(item => {
                let key = item.split("=")[0];
                let value = item.split("=")[1];
                result[key] = value;
            })
            return result;
        }
        $("#order").click(function() {
            location.href = `${address}/Myorder.html?id=${location.href.parseUrl().id}`;
        })
    </script>
</body>

</html>